package com.stars.common.result;

import com.stars.common.base.BaseUUID;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author csot.qhluodajie on 2019/2/21.
 */
@Data
public class VueTreeItem extends BaseUUID {
    private String title;
    /**
     * 展开
     */
    private Boolean expand =false;
    /**
     * 展开
     */
    private Boolean expanded =false;
    /**
     * 选中
     */
    private Boolean selected;
    /**
     * 勾选
     */
    private Boolean checked = false;
    /**
     *禁用
     */
    private Boolean disabled;
    /**父类id*/
    private String pid;
    /**层级*/
    private Integer layer;
    /**排序号*/
    private Integer sortNum;
    /**
     * 可进行多选。
     */
    private Boolean multiple;
    private List<VueTreeItem> children = new ArrayList<>();
}
